$OpenBSD: patch-src_Makefile_am,v 1.13 2017/01/19 19:32:06 ajacoutot Exp $
--- src/Makefile.am.orig	Fri Jan 13 04:02:18 2017
+++ src/Makefile.am	Thu Jan 19 09:52:09 2017
@@ -742,7 +742,7 @@ endif
 
 libpulsecommon_@PA_MAJORMINOR@_la_CFLAGS = $(AM_CFLAGS) $(LIBSNDFILE_CFLAGS)
 libpulsecommon_@PA_MAJORMINOR@_la_LDFLAGS = $(AM_LDFLAGS) $(AM_LIBLDFLAGS) -avoid-version
-libpulsecommon_@PA_MAJORMINOR@_la_LIBADD = $(AM_LIBADD) $(LIBWRAP_LIBS) $(WINSOCK_LIBS) $(LTLIBICONV) $(LIBSNDFILE_LIBS)
+libpulsecommon_@PA_MAJORMINOR@_la_LIBADD = $(AM_LIBADD) $(LIBWRAP_LIBS) $(WINSOCK_LIBS) $(LTLIBICONV) $(LIBSNDFILE_LIBS) -lexecinfo
 
 if HAVE_MEMFD
 libpulsecommon_@PA_MAJORMINOR@_la_SOURCES += \
@@ -1280,6 +1280,9 @@ modlibexec_LTLIBRARIES += \
 		module-oss.la
 endif
 
+modlibexec_LTLIBRARIES += \
+		module-sndio.la
+
 if HAVE_COREAUDIO
 modlibexec_LTLIBRARIES += \
 		module-coreaudio-detect.la \
@@ -1507,6 +1510,7 @@ SYMDEF_FILES = \
 		module-x11-xsmp-symdef.h \
 		module-x11-cork-request-symdef.h \
 		module-oss-symdef.h \
+		module-sndio-symdef.h \
 		module-alsa-sink-symdef.h \
 		module-alsa-source-symdef.h \
 		module-alsa-card-symdef.h \
@@ -1828,6 +1832,12 @@ liboss_util_la_LIBADD = $(MODULE_LIBADD)
 module_oss_la_SOURCES = modules/oss/module-oss.c
 module_oss_la_LDFLAGS = $(MODULE_LDFLAGS)
 module_oss_la_LIBADD = $(MODULE_LIBADD) liboss-util.la
+
+# SNDIO
+
+module_sndio_la_SOURCES = modules/module-sndio.c
+module_sndio_la_LDFLAGS = $(MODULE_LDFLAGS)
+module_sndio_la_LIBADD = $(MODULE_LIBADD) -lsndio
 
 # COREAUDIO
 
